package com.qfedu.smart_community.vo;

import lombok.Data;

/**
 * @version v1.0
 * @Date 2023/10/18 14:14
 * @Author DARKER
 * @Email 1402216045@qq.com
 */
@Data
public class AjaxVO {
    private Integer code;
    private String msg;
    private Object data;
    public  static AjaxVO create(){
        AjaxVO ajaxVO = new AjaxVO();
        return ajaxVO;
    }

    public AjaxVO setCode(Integer code) {
        this.code = code;
        return this;
    }

    public AjaxVO setMsg(String msg) {
        this.msg = msg;
        return this;

    }

    public AjaxVO setData(Object data) {
        this.data = data;
        return this;

    }
}
